#ifndef SendSerialUtil_H
#define SendSerialUtil_H
#include <QObject>
#include <QSerialPort>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class SendSerialUtil : public QObject
{
    Q_OBJECT
public:
    explicit SendSerialUtil(QObject *parent = nullptr);
    void sendMessage(QByteArray qb);
    void sendMessage1(QString qb);
    bool serial_Connect_State = false;

    QSerialPort *sendSerialPort;
public slots:   
    QString connectSendSerail();

protected:
    void run();

signals:
    void sendSendToDemoudle(QList<double> list1);

private:

};

#endif // SendSerialUtil_H
